package com.xuge.service.impl;

import com.xuge.dao.LoginUserMapper;
import com.xuge.pojo.UserInfoEntity;
import com.xuge.service.LoginUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginUserServiceImpl implements LoginUserService {
    @Autowired
    private LoginUserMapper loginUserMapper;
    @Override
    public UserInfoEntity findUserByUserName(String userName) {
        return loginUserMapper.findUserByUserName(userName);
    }
}
